<?php

/**
 *
 * @version $Id: CParameterResult.php,v 1.2 2011-05-29 05:37:28 herve Exp $
 * @copyright 2011
 * @since 1.0
 */
class CParameterResult extends CParameterList {
	
	public function __construct(){
		parent::__construct();
	}
	
	public function append($row){
		$this->_row[] = $row;
	}
	
	public function clear(){
		$this->_row = array();
	}
	
	public function first(){
		$n = count($this->_row);
		if ($n > 0)
			return $this->_row[0];
		else
			return null;
	}
	
}
?>
